
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Reducer;

import java.io.IOException;

public class dataReducer extends Reducer  <date_FlowBean,Text,Text,date_FlowBean >{
    @Override
    protected void reduce(date_FlowBean key, Iterable<Text> values, Context context) throws IOException, InterruptedException {
        for (Text value : values){
            context.write(value,key);
        }
    }
}
